package com.duang.framework.dao;

public class MysqlDialect implements Dialect {

	@Override
	public String update(Model model) {
		return MysqlDialectUtils.update(model);
	}

	@Override
	public String update(Model model, String[] fields) {
		return MysqlDialectUtils.update(model, fields);
	}

	@Override
	public String getById(Model model) {
		return MysqlDialectUtils.getById(model);
	}

	@Override
	public String save(Model model) {
		return MysqlDialectUtils.save(model);
	}

	@Override
	public String delete(Model model) {
		return MysqlDialectUtils.delete(model);
	}

	@Override
	public String getById(Model model, String whereColumn) {
		return MysqlDialectUtils.getById(model, whereColumn);
	}

	@Override
	public String getById(Model model, String... whereColumn) {
		return MysqlDialectUtils.getById(model, whereColumn);
	}

}
